html {
    font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
}
html,body{
    height:100%;
}
html,body{width:100%;height:100%;}
body{min-height:100%;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}
div,h1,h2,h3,h4,h5,h6{
    line-height: 1em;
    font-weight: 100;
}
ol,ul,li{
    list-style: none;
}
table { 
    border-collapse:collapse;
    border-spacing:0; 
} 
img { 
    border: 0; 
    max-width: 100%;
}
a{
    text-decoration: none !important;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}
button,input{
    outline:none;
}
input:hover{
    outline: none;
}
a,a:hover{
    text-decoration: none;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}
/* 清除浮动 */
.clearfix:after {       
    content: ".";     /*内容为“.”就是一个英文的句号而已。也可以不写。*/
    display: block;   /*加入的这个元素转换为块级元素。*/
    clear: both;     /*清除左右两边浮动。*/
    visibility: hidden;      /*可见度设为隐藏。注意它和display:none;是有区别的。visibility:hidden;仍然占据空间，只是看不到而已；*/
    line-height: 0;    /*行高为0；*/
    height: 0;     /*高度为0；*/
}

.clearfix { *zoom:1;}   /*这是针对于IE6的，因为IE6不支持:after伪类，这个神奇的zoom:1让IE6的元素可以清除浮动来包裹内部元素。*/

/* 文本溢出省略号 */
.text-overflow{
    display:block;
    width:100%;
    word-break:keep-all;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* 不定宽元素垂直居中对齐 */
/*父容器*/
.vertical-box:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    text-align:center;
}
/*子容器*/
.vertical-middle{
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

/*.wrap{
    width:1200px;
    min-width: 1200px;
    height:100%;
    margin:0 auto;
    position:relative;
}*/

.gray { 
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    
    filter: grayscale(100%);
    
    filter: gray;
}

.none{
    display:none;
}
textarea{
    resize: none;
}
.error{fontSize: '12px',color: 'red'}